Date Range
Constructors
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Validate that this DateRange's start/end dates appear to be valid...
Link copied to clipboard
fun transformDateRange(baseUnit: DateRangeUnit, numBaseUnits: Int = 1, keepMonthEndAligned: Boolean = false, transformationParameters: DateRangePeriodParameters? = null): DateRange
A transformation that can be applied to a DateRange to derive a related DateRange. For example, a date range of "last month" can be transformed to "last 6 months" by applying a transform with baseUnit=month, numBaseUnits=6, keepMonthEndAligned=true. This function can also apply DateRangePeriodParameters to shift or multiply a date range by an offset and multiplier. This function cannot validate that the combination of supplied parameters are a valid transformation for this date range.